<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增【请填写功能名称】')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-guestbookmuban-add">
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label is-required">${comment}：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="guestbookid" class="form-control" type="text" required>-->
<!--                </div>-->
<!--            </div>-->
            <!--            <div class="form-group">    -->
            <!--                <label class="col-sm-3 control-label">${comment}：</label>-->
            <!--                <div class="col-sm-8">-->
            <!--                    <input name="xingming" class="form-control" type="text">-->
            <!--                </div>-->
            <!--            </div>-->
            <!--            <div class="form-group">    -->
            <!--                <label class="col-sm-3 control-label">${comment}：</label>-->
            <!--                <div class="col-sm-8">-->
            <!--                    <input name="lianxifangshi" class="form-control" type="text">-->
            <!--                </div>-->
            <!--            </div>-->
            <!--            <div class="form-group">    -->
            <!--                <label class="col-sm-3 control-label">${comment}：</label>-->
            <!--                <div class="col-sm-8">-->
            <!--                    <input name="zhuangtai" class="form-control" type="text">-->
            <!--                </div>-->
            <!--            </div>-->
            <!--            <div class="form-group">-->
            <!--                <label class="col-sm-3 control-label">${comment}：</label>-->
            <!--                <div class="col-sm-8">-->
            <!--                    <textarea name="text1" class="form-control"></textarea>-->
            <!--                </div>-->
            <!--            </div>-->
            <!--            <div class="form-group">-->
            <!--                <label class="col-sm-3 control-label">${comment}：</label>-->
            <!--                <div class="col-sm-8">-->
            <!--                    <textarea name="text2" class="form-control"></textarea>-->
            <!--                </div>-->
            <!--            </div>-->
            <!--            <div class="form-group">    -->
            <!--                <label class="col-sm-3 control-label">${comment}：</label>-->
            <!--                <div class="col-sm-8">-->
            <!--                    <div class="input-group date">-->
            <!--                        <input name="chuangjiantime" class="form-control" placeholder="yyyy-MM-dd" type="text">-->
            <!--                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>-->
            <!--                    </div>-->
            <!--                </div>-->
            <!--            </div>-->
            <!--            <div class="form-group">    -->
            <!--                <label class="col-sm-3 control-label">${comment}：</label>-->
            <!--                <div class="col-sm-8">-->
            <!--                    <div class="input-group date">-->
            <!--                        <input name="gengxintime" class="form-control" placeholder="yyyy-MM-dd" type="text">-->
            <!--                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>-->
            <!--                    </div>-->
            <!--                </div>-->
            <!--            </div>-->
            <!--            <div class="form-group">    -->
            <!--                <label class="col-sm-3 control-label">${comment}：</label>-->
            <!--                <div class="col-sm-8">-->
            <!--                    <input name="isvalid" class="form-control" type="text">-->
            <!--                </div>-->
            <!--            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">问题类型：</label>
                <div class="col-sm-8">

                    <input name="wentileixing" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员类型：</label>
                <div class="col-sm-8">
                    <input name="renyuanleixing" class="form-control" type="text">
                </div>
            </div>


            <div class="form-group">
                <label class="col-sm-3 control-label">咨询留言：</label>
                <div class="col-sm-8">
                    <textarea name="liuyan" class="form-control"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">回复：</label>
                <div class="col-sm-8">
                    <textarea name="huifu" class="form-control"></textarea>
                </div>
            </div>

        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/guestbookmuban"
        $("#form-guestbookmuban-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-guestbookmuban-add').serialize());
            }
        }

        $("input[name='chuangjiantime']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gengxintime']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>